﻿<%@ Page Title="" Language="C#" MasterPageFile="~/UserCentents/Centents.Master" AutoEventWireup="true"
    CodeBehind="Article.aspx.cs" Inherits="School.UserCentents.Article" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="MainBody">
        <!-- 右侧开始 -->
        <div class="mainHeader">
            <div class="itopic">
                <img src="../images/body_side_icon1.gif">文章
            </div>
            <div class="clear">
            </div>
        </div>
        <div class="mainBodyTop">
            <div id="Msearch">
                <asp:TextBox ID="keyword" runat="server"></asp:TextBox>
                <asp:Button ID="Button1" runat="server" Text="搜索" />
            </div>
        </div>
        <div class="mainBodyShow">
            <div id="mainData">
                <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound"
                    OnItemCommand="Repeater1_ItemCommand">
                    <ItemTemplate>
                        <table cellspacing="0" cellpadding="0" border="0" class="LogList">
                            <tbody>
                                <tr class="tr1">
                                    <td class="td1">
                                        <input type="checkbox" value="100097" id="aid" name="aid" />
                                    </td>
                                    <td class="td2">
                                        <div class="MessageTitle">
                                            <%--[固顶]--%>
                                            <a target="_blank" href="">
                                                <%#Eval("Title")%></a>
                                        </div>
                                        <div class="MessageBlock">
                                            <%--<div class="message">
                                                <table cellspacing="0" cellpadding="0" border="0">
                                                    <tbody>
                                                        <tr>
                                                            <td>
                                                                <%#Eval("Contents")%>
                                                            </td>
                                                        </tr>
                                                    </tbody>
                                                </table>
                                            </div>--%>
                                            <div class="mc t">
                                            </div>
                                            <div class="mc bc lt">
                                            </div>
                                            <div class="mc bc lb">
                                            </div>
                                            <div class="mc bc rt">
                                            </div>
                                            <div class="mc bc rb">
                                            </div>
                                        </div>
                                    </td>
                                    <td class="td3">
                                        <a href="AddArticle.aspx?action=3&id=<%#Eval("ID")%>">修改</a>
                                        <asp:LinkButton ID="LinkButton1" runat="server" CommandName="del" CommandArgument='<%#Eval("ID")%>'
                                    runat="server" Text="删除" OnClientClick="return confirm('您确定要删除吗？');"></asp:LinkButton>
                                    </td>
                                </tr>
                                <tr class="tr2">
                                    <td>
                                        &nbsp;
                                    </td>
                                    <td>
                                        <%#Eval("UserID")%>
                                        发表于<%#Eval("DateTime")%>| 点(<asp:Label ID="lbDian" runat="server" Text="0"></asp:Label>) 评(<asp:Label ID="lbPing"
                                            runat="server" Text="0"></asp:Label>)
                                    </td>
                                    <td>
                                        &nbsp;
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </ItemTemplate>
                </asp:Repeater>
            </div>
            <webdiyer:AspNetPager CssClass="PageNumbers" CurrentPageButtonClass="cpb" ID="AspNetPager1"
                runat="server" AlwaysShow="True" FirstPageText="首页" Font-Size="12px" LastPageText="尾页"
                NextPageText="【下一页】 " PageSize="15" PrevPageText="【上一页】" ShowBoxThreshold="11"
                TextAfterInputBox="" TextBeforeInputBox="" UrlPaging="True" CustomInfoHTML=""
                ShowCustomInfoSection="Left" ShowPageIndexBox="Never" ShowFirstLast="False" ShowPrevNext="False">
            </webdiyer:AspNetPager>
        </div>
        <!-- 右侧结束 -->
    </div>
</asp:Content>
